package com.fastCms.business.mall.pojo.po;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * @Description 分页基础对象
 * @Param
 * @Return
 * @Date 2019/3/20 下午1:46 lsquan
 */
@Data
public class PayPO {
    @ApiModelProperty(value = "产品Id", example = "1")
    private String orderNumber;

    @ApiModelProperty(value = "组织编号", example = "RSD")
    private String organizeCode;

    @ApiModelProperty(value = "openid-微信支付下使用", example = "openid")
    @NotNull(message = "openid不能为空")
    private String openid;

    @ApiModelProperty(value = "支付方式", example = "WECHAT_PAY")
    @NotNull(message = "支付方式不能为空")
    private String paidWay;

    @ApiModelProperty(value = "支付金额", example = "100.00")
    private BigDecimal paidAmount;

    @ApiModelProperty(value = "支付回调地址", example = "/store/api/payDischargeCard/wechatPayCallback")
    private String callbackMethod;

    @ApiModelProperty(value = "交易类型", example = "JSAPI")
    private String tradeType;

}
